Bookly\Lib\Entities\Notification A

Total Complexity 57
Dependencies 4
Dependents 20
Total lines 671
Lines of code 238
Logical lines of code 82
Comment lines 259
Methods 43
Properties 20

Methods 43

Method Rating Maintainability Complexity Lines of code
save()
S
59 4 14
initTypeIds()
S
52 2 26
initIcons()
S
54 2 23
initTitles()
S
56 2 17
getTypes()
S
59 2 15
matchesItemForStaff()
S
73 2 4
matchesItemForClient()
S
74 2 4
getSettingsObject()
S
71 2 6
getTypeId()
S
71 2 6
getIcon()
S
70 2 6
getTitle()
S
70 2 6
getTypeString()
S
75 2 4
setToCustomer()
S
77 1 4
getMessage()
S
82 1 3
setMessage()
S
77 1 4
getToStaff()
S
82 1 3
setToStaff()
S
77 1 4
getToCustomer()
S
82 1 3
setAttachIcs()
S
77 1 4
getAttachIcs()
S
82 1 3
getSubject()
S
82 1 3
getAttachInvoice()
S
82 1 3
setAttachInvoice()
S
77 1 4
getSettings()
S
82 1 3
setSettings()
S
77 1 4
setSubject()
S
77 1 4
getName()
S
82 1 3
setName()
S
77 1 4
getWpmlName()
S
78 1 3
setCustomRecipients()
S
77 1 4
getCustomRecipients()
S
82 1 3
setToCustom()
S
77 1 4
getToCustom()
S
82 1 3
getTranslatedMessage()
S
77 1 3
getToAdmin()
S
82 1 3
setActive()
S
77 1 4
getActive()
S
82 1 3
setType()
S
77 1 4
getType()
S
82 1 3
setGateway()
S
77 1 4
getGateway()
S
82 1 3
getTranslatedSubject()
S
77 1 3
setToAdmin()
S
77 1 4